use slint;
fn main() {
    MainWindow::new().unwrap().run().unwrap();
}

slint::slint! {
    import { Button } from "std-widgets.slint";
export component MainWindow inherits Window {
    VerticalLayout {
        Text {
            text: "hello world";
            color: green;
            font-size: 20px;
        }
        Button {
            text: "点我";
            clicked => {

            }
        }
    }

    }
}
